import {createAPI} from '@/utils/request'

// eslint-disable-next-line eol-last
export const list = data => createAPI('/company-dept/deptList', 'get', data)
export const save = data => createAPI('/company-dept/add', 'post', data)
export const info = data => createAPI('/company-dept/info', 'get', data)
export const del = data => createAPI('/company-dept/del', 'get', data)
export const edit = data => createAPI('/company-dept/edit', 'post', data)
